<template>
<!-- 中间部分工作区域组件 -->
    <router-view v-if="viewshow"></router-view>
</template>
<script>
export default {
  provide (){
    return {
      reload:this.changeviewshow
    }
  },
  data() {
    return {
      viewshow:true
    }
  },
  methods: {
    changeviewshow(){
      this.viewshow=false;
      setTimeout(()=>{
        this.viewshow = true;
      },1000)
    }
  }
}
</script>
<style scoped>
</style>
